package com.pinyougou.group;

import com.pinyougou.pojo.TbSpecification;
import com.pinyougou.pojo.TbSpecificationOption;

import java.io.Serializable;
import java.util.List;

public class Specification implements Serializable {
    private TbSpecification spec;
    private List<TbSpecificationOption> options;

    public Specification() {
    }

    public Specification(TbSpecification spec, List<TbSpecificationOption> options) {
        this.spec = spec;
        this.options = options;
    }

    public TbSpecification getSpec() {
        return spec;
    }

    public void setSpec(TbSpecification spec) {
        this.spec = spec;
    }

    public List<TbSpecificationOption> getOptions() {
        return options;
    }

    public void setOptions(List<TbSpecificationOption> options) {
        this.options = options;
    }

    @Override
    public String toString() {
        return "Specification{" +
                "spec=" + spec +
                ", options=" + options +
                '}';
    }
}
